/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.gmu.atelier;

//import javafx.application.Application;
//import javafx.event.ActionEvent;
//import javafx.event.EventHandler;
//import javafx.scene.Scene;
//import javafx.scene.control.Button;
//import javafx.scene.layout.StackPane;
//import javafx.stage.Stage;
 
public class HelloWorld
//    extends Application
{
//    public static void main(String[] args) {
//        launch(args);
//    }
//    
//    @Override
//    public void start(Stage primaryStage)
//    {
//        /*
//         * I think that it works this way
//         * Stage (Has size/pixels, title, border)
//         *   Scene (one or more? Holds the root of the scene, e.g. Pane)
//         *     Pane (one or more? It is the root node, StackPane can resize.)
//         *       0,1,or more Nodes
//         */
//        primaryStage.setTitle("Hello World!");
//        Button btn = new Button();
//        btn.setText("Say 'Hello World'");
//        btn.setOnAction(new EventHandler<ActionEvent>() {
// 
//            @Override
//            public void handle(ActionEvent event) {
//                System.out.println("Hello World!");
//            }
//        });
//        
//        StackPane root = new StackPane();
//        root.getChildren().add(btn);
//        primaryStage.setScene(new Scene(root, 300, 250));
//        primaryStage.show();
//    }
}